package com.java.portal.common.util;

import java.io.InputStream;
import java.net.URL;

public class StreamUtil
{
	public static InputStream getStream(String name)
	{
		return Thread.currentThread().getContextClassLoader().getResourceAsStream(name);
	}

	public static URL getResource(String name)
	{
		return Thread.currentThread().getContextClassLoader().getResource(name);
	}
}
